﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Documents;
using System.Windows.Controls;

namespace GuestList.ViewModels
{
    public class InvitationPaginator : DocumentPaginator
    {
        #region DocumentPaginator Members

        public override DocumentPage GetPage(int pageNumber)
        {
            return new DocumentPage(new TextBlock { Text = Text });
        }

        public override bool IsPageCountValid
        {
            get { return true; }
        }

        public override int PageCount
        {
            get { return 1; }
        }

        public override System.Windows.Size PageSize { get; set; }

        public override IDocumentPaginatorSource Source
        {
            get { return null; }
        }

        #endregion

        public string Text { get; set; }
    }
}
